#! /bin/bash
loop=30
i=1;
problem=ZDT1
while [ $i -le $loop ]
do
   echo $i/$loop
   make --silent run.standalone >> out.$problem.standalone.txt
   i=$((i+1))
done
cd /home/axs/development/proyecto/moe/metrics/
./metrics_zdt.m plot $problem ../results/$problem/serial/*.data
./metrics_zdt.m stat $problem ../results/$problem/serial/*.data > ../results/$problem/serial/summary
cd ..
